<!-- 刷新页面 -->
<template>
    <div>页面正在刷新,请稍后......</div>
</template>
<script lang="ts" setup>
import { useRoute, useRouter } from "vue-router";
const route = useRoute()
const router = useRouter()
const { params: { backpath } } = route
setTimeout(() => {
    router.replace(backpath as string)
}, 200)
</script>